<?php 
define('_VIEW_MODEL_','default');
include("./init.php");
require_once INC.'/pageclass.php';
//$pageObj = new Page(34,10,$smartyObj);
$id = isset($id)?intval($id):"";
$rs = $db->Execute("select `id`,`title`,`content`,`column` from {$telper}help where `state` = 0 order by rank desc,id asc");
$help = $rs ->GetArray();
foreach($help as $k=>$v){
	$info[$v['column']][] = $v;
}
header("Content-type:text/vnd.wap.wml;charset=utf-8");
$smartyObj->assign("hestyle",$helpstyle);
$smartyObj->assign("info",$info);
$smartyObj->assign("uid",$id);
$smartyObj->display("help.tpl");

?>